 <?php


Class Backend_User_IndexView Extends Yapary_MVC_View
{
	const NEWLINE = "\n";


    public function defaultView (array $arrVar)
    {
		$output 		= NULL;

		// Auszugebende Daten im entsprechenden Registry-Eintrag speichern
		$registry = Yapary_SingletonRegistry::getInstance();

		/* @var $oSql Yapary_Db_Sql_Connector */
		$oSql = $registry->oSql;
		/* @var $model Index_IndexModel */
		$model = $this->model; // Durch @var-Definition Eclipse Autocomplete nutzen!
		/* @var $oHeader Yapary_Header_Header */
		$oHeader = $registry->oHeader;
		/* @var $oMetaTag Yapary_Header_MetaTag */
		$oMetaTag = $registry->oMetaTag;
		/* @var $oMainMenu Yapary_Menu_XmlMenu */
		$oMainMenu = $registry->oMainMenu;


		// HTML Head Title
		$oHeader->setTitle('Katalog');

		// MainMenu
		$oMainMenu->setSelected(strtoupper(Yapary_SingletonRegistry::getInstance()->routeName));
		$oMainMenu->expand('ACCOUNT_INDEX');

		// Daten in globaler Registry speichern, um diese in "layout.phtml" ausgeben zu koennen
		$registry->header		= $this->partial->insert('headerData.phtml');
		$registry->mainMenu		= $oMainMenu->display(strtoupper(Yapary_SingletonRegistry::getInstance()->routeName));
		$registry->content		= '';
		$registry->footerMenu	= '';

    }

}

?>